﻿Imports System Imports System.Collections.Generic Imports System.Text
'Namespace DTO
Public Class CLoaiNV
#Region "Khai báo thuộc tính"
    Private _maLoaiNV As Integer
    Private _tenLoaiNhanVien As String
    Private _ghiChu As String

    Public Property maLoaiNV() As Integer
        Get
            Return _maLoaiNV
        End Get
        Set(ByVal value As Integer)
            _maLoaiNV = value
        End Set
    End Property

    Public Property tenLoaiNhanVien() As String
        Get
            Return _tenLoaiNhanVien
        End Get
        Set(ByVal value As String)
            _tenLoaiNhanVien = value
        End Set
    End Property

    Public Property ghiChu() As String
        Get
            Return _ghiChu
        End Get
        Set(ByVal value As String)
            _ghiChu = value
        End Set
    End Property
#End Region
#Region "Khai báo thuộc tính"
    Public Sub New()
        Me.maLoaiNV = ""
        Me.tenLoaiNhanVien = ""
        Me.ghiChu = ""
    End Sub
    Public Sub New(ByVal loaiNV As CLoaiNV)
        Me.maLoaiNV = loaiNV.maLoaiNV
        Me.tenLoaiNhanVien = loaiNV.tenLoaiNhanVien
        Me.ghiChu = loaiNV.ghiChu
    End Sub
    Public Sub New(ByVal ma_LoaiNV As Integer, ByVal ten_LoaiNhanVien As String, ByVal ghi_Chu As String)
        Me.maLoaiNV = ma_LoaiNV
        Me.tenLoaiNhanVien = ten_LoaiNhanVien
        Me.ghiChu = ghi_Chu
    End Sub

#End Region



End Class
'End Namespace